/*
 * Created on Jan 3, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.vectrics.location;

import org.vectrics.common.db.Voidable;

/**
 * @author MMoore
 */
public class Country implements Voidable {
	private String name = null;
	private String code = null;
	private String extendedCode = null;
	private Long countryNumber = null;
	private Location location = null;
	private boolean voided = false;
	
	
	/**
	 * 
	 */
	public Country() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * @return Returns the code.
	 */
	public String getCode() {
		return code;
	}
	/**
	 * @param code The code to set.
	 */
	public void setCode(String code) {
		this.code = code;
	}
	
	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	
	/**
	 * @return Returns the countryId.
	 */
	public Long getCountryNumber() {
		return countryNumber;
	}
	/**
	 * @param countryId The countryId to set.
	 */
	public void setCountryNumber(Long countryId) {
		this.countryNumber = countryId;
	}
	/**
	 * @return Returns the extendedCode.
	 */
	public String getExtendedCode() {
		return extendedCode;
	}
	/**
	 * @param extendedCode The extendedCode to set.
	 */
	public void setExtendedCode(String extendedCode) {
		this.extendedCode = extendedCode;
	}
	
	/**
	 * @return Returns the location.
	 */
	public Location getLocation() {
		return location;
	}

	/**
	 * @param location The location to set.
	 */
	public void setLocation(Location location) {
		this.location = location;
	}

	/**
	 * @return Returns the voided.
	 */
	public boolean getVoided() {
		return voided;
	}
	/**
	 * @param voided The voided to set.
	 */
	public void setVoided(boolean voided) {
		this.voided = voided;
	}
}
